package cup.modules.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import cup.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * app????实体类
 *
 * @author BladeX
 * @since 2022-07-06
 */
@Data
@TableName("t_app_versions")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "AppVersions对象", description = "app????")
public class AppVersions extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 版本号(时间_版本.小版本)
	 */
	@ApiModelProperty(value = "版本号(时间_版本.小版本)")
	private String version;

	@ApiModelProperty(value = "app包地址")
	private String appUrl;

	@ApiModelProperty(value = "是否最新版本")
	private Integer isNew;

	@TableField(exist = false)
	private Integer isDeleted;

	@TableField(exist = false)
	private Long createDept;

	@TableField(exist = false)
	private Date updateTime;

	@TableField(exist = false)
	private Long updateUser;

}
